package com.hcqc.demo.server;

import com.hcqc.demo.pojo.Form1;
import com.hcqc.demo.pojo.Form2;
import com.hcqc.demo.vo.Result;

import java.util.List;

public interface Form2Server {
    List<Form2> SelectALL(String user_name);

    List<Form2> SelectALL(String user_name,Form2 search);

    void addFrom2Info(List<Form2> form2List);

    void addFrom2Info(List<Form2> form2List,String user_name);

    void delete(String iDs);

    void addOne(Form2 form2);

    List<Form2> SelectIDs(String user_name, String iDs);

    Result SelectALLpage(String user_name, Form2 search, Integer pageIndex, Integer pageSize);
}
